package com.lee.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lee.auth.entity.BaseUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author lee HN
 * @date 2021/5/8 17:00
 */
@Mapper
public interface BaseUserMapper extends BaseMapper<BaseUser> {

    BaseUser selectByAccount(String account);

    int updateLoginById(long time, Long id);

    int updateActiveTimeById(long time, Long id);

}
